package com.sale.storage.api;

import com.sale.common.core.domain.R;
import com.sale.storage.api.dto.SysDateChangeDto;
import com.sale.storage.api.vo.UpdateDateChangeVo;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * 日期变更出库、入库数据查询服务
 */
public interface RemotePublicSelectService {

    /**
     * 出库查询
     */
    SysDateChangeDto outSelect(String documentNumber);

    /**
     * 入库查询
     */
    SysDateChangeDto inSelect(String documentNumber);

    /**
     * 库内查询
     */
    SysDateChangeDto kuneSelect(String documentNumber);

    /**
     * 出库修改
     */
    boolean outUpdate(@RequestBody UpdateDateChangeVo updateDateChangeVo);
    /**
     * 入库修改
     */
    boolean inUpdate(@RequestBody UpdateDateChangeVo updateDateChangeVo);

    /**
     * 库内修改
     */
   boolean kuneUpdate(@RequestBody UpdateDateChangeVo updateDateChangeVo);
}
